package json;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public class Test {

	public static void main(String[] args) {
		
		JSONObject json = JSON.parseObject("{\"morePoint\":[{\"floorNumber\":\"F3\",\"name\":\"国内出发问讯台\",\"longitude\":\"102.935247\",\"latitude\":\"25.101734\"},{\"floorNumber\":\"F3\",\"name\":\"国际出发问讯台\",\"longitude\":\"102.934142\",\"latitude\":\"25.102512\"},{\"floorNumber\":\"F3\",\"name\":\"隔离区内国内出发问讯台\",\"longitude\":\"102.936073\",\"latitude\":\"25.103714\"},{\"floorNumber\":\"B1\",\"name\":\"国际到达问讯台\",\"longitude\":\"102.933825\",\"latitude\":\"25.102485\"},{\"floorNumber\":\"B1\",\"name\":\"国内到达问讯台\",\"longitude\":\"102.935280\",\"latitude\":\"25.101413\"}]}");
		JSONArray array = json.getJSONArray("morePoint");
		
		
		System.out.println(array.getJSONObject(0));
		
		System.out.println(array.getJSONObject(0).getDouble("latitude"));
	}
}
